Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update commander to the latest version 🚀 #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Nov 22, 2017

Version 2.12.0 of commander was just published.

Dependency commander
Current Version 2.9.0
Type dependency

The version 2.12.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of commander.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v2.12.0
  • add attributeName() method to Option objects
  • Documentation updated for options with --no prefix
  • typings: outputHelp takes a string as the first parameter
  • typings: use overloads
  • feat(typings): update to match js api
  • Print default value in option help
  • Fix translation error
  • Fail when using same command and alias (#491)
  • feat(typings): add help callback
  • fix bug when description is add after command with options (#662)
  • Format js code
  • Rename History.md to CHANGELOG.md (#668)
  • feat(typings): add typings to support TypeScript (#646)
  • use current node
Commits

The new version differs by 78 commits.

  • 7e22f38 version bump 2.12.0
  • 0060dde add attributeName() method to Option objects
  • d359b75 Documentation updated for options with --no prefix
  • 0ae8353 typings: outputHelp takes a string as the first parameter
  • c5511a2 typings: use overloads
  • 7a122e7 feat(typings): update to match js api
  • d9abf56 Print default value in option help
  • b92a7c6 Fix translation error
  • 2f07e29 Fail when using same command and alias (#491)
  • df86179 feat(typings): add help callback
  • 5c74431 fix bug when description is add after command with options (#662)
  • df3b529 Format js code
  • f249c85 Rename History.md to CHANGELOG.md (#668)
  • 66dfb8c feat(typings): add typings to support TypeScript (#646)
  • 90b7fef use current node

There are 78 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Nov 23, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 23, 2017

Version 2.12.1 just got published.

Update to this version instead 🚀

Release Notes v2.12.1
  • Move @types/node to dev dependency
Commits

The new version differs by 4 commits.

  • 91c2514 Merge pull request #721 from abetomo/version_bump_2.12.1
  • 0a91554 version bump 2.12.1
  • a7124fc Merge pull request #718 from chengkungui/patch-1
  • 245584e Move @types/node to dev dependency

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 28, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 28, 2017

Version 2.12.2 just got published.

Update to this version instead 🚀

Release Notes v2.12.2
  • fix: typings are not shipped
Commits

The new version differs by 4 commits.

  • 6864c95 Merge pull request #726 from abetomo/version_bump_2.12.2
  • 451edf9 version bump 2.12.2
  • a670f93 Merge pull request #725 from alan-agius4/patch-2
  • 4fe6578 fix: typings are not shipped

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 11, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 11, 2018

Version 2.13.0 just got published.

Update to this version instead 🚀

Release Notes v2.13.0
  • Do not print default for --no-
  • remove trailing spaces in command help
  • Update CI's Node.js to LTS and latest version
  • typedefs: Command and Option types added to commander namespace
Commits

The new version differs by 8 commits.

  • 291fbaa Merge pull request #748 from abetomo/version_bump_2.13.0
  • 63f1ee9 version bump 2.13.0
  • f13ee18 Do not print default for --no-
  • ff712f1 remove trailing spaces in command help
  • fefda77 Merge pull request #713 from sveinburne/feature/enhanced-typedefs
  • d812171 Merge pull request #723 from abetomo/add_nodejs_version_to_ci_yml
  • 498ce71 Update CI's Node.js to LTS and latest version
  • 965188f typedefs: Command and Option types added to commander namespace

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 6, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 6, 2018

Version 2.14.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 16 commits.

  • de4af3a version bump 2.14.0
  • 445e80e Merge pull request #761 from mojavelinux/register-on-version-once
  • ba6592f only register the option:version event once
  • f5abcdb Merge pull request #728 from sorohan/master
  • 06451e3 Add missing semi-colons for linting.
  • 92d6e49 Check if argv is set in array, instead of checking falsey
  • f44fa3b Add test for empty option on command
  • d5ac793 Merge pull request #753 from mojavelinux/issue-560-version-option
  • 38f41bf Merge pull request #760 from mojavelinux/enable-eqeqeq-rule
  • cdb7a95 enable eqeqeq rule
  • 4c9b4b8 resolves #754 add linter configuration to project
  • 37359ee resolves #560 respect custom name for version option
  • e5d8f04 Merge pull request #752 from mojavelinux/document-version-flag
  • 9cee324 document how to override the version flag
  • 447ce8f Merge pull request #751 from mojavelinux/options-for-command

There are 16 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 7, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 7, 2018

Version 2.14.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 8, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 8, 2018

Version 2.15.0 just got published.

Update to this version instead 🚀

Release Notes v2.15.0
  • Update downloads badge to point to graph of downloads over time instead of duplicating link to npm
  • Arguments description
Commits

The new version differs by 7 commits.

  • d8404f8 Merge pull request #775 from abetomo/version_bump_2.15.0
  • cb6f680 version bump 2.15.0
  • 5c880fc Merge pull request #772 from cheapsteak/patch-2
  • 956b9e5 Update downloads badge to point to graph of downloads
  • c92ca1d Merge pull request #711 from cravler/args_description
  • 1d52048 Merge branch 'master' into args_description
  • f226259 Arguments description

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 20, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 20, 2018

Version 2.15.1 just got published.

Update to this version instead 🚀

Release Notes v2.15.1

fix #777
Released with [email protected]

Commits

The new version differs by 1 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 29, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 29, 2018

Version 2.16.0 just got published.

Update to this version instead 🚀

Release Notes v2.16.0
  • Remove Makefile and test/run (#821)
  • Make 'npm test' run on Windows (#820)
  • Add badge to display install size (#807)
  • chore: cache node_modules (#814)
  • chore: remove Node.js 4 (EOL), add Node.js 10 (#813)
  • fixed typo in readme (#812)
  • Fix types (#804)
  • Update eslint to resolve vulnerabilities in lodash (#799)
  • updated readme with custom event listeners. (#791)
  • fix tests (#794)
Commits

The new version differs by 17 commits.

  • 4cc348b Merge pull request #822 from abetomo/version_bump_2.16.0
  • 8db14db version bump 2.16.0
  • 1f9354f Remove Makefile and test/run (#821)
  • 3f4f5ca Make 'npm test' run on Windows (#820)
  • 3b8e519 Merge pull request #807 from styfle/patch-1
  • 77ffd4f Merge pull request #814 from DanielRuf/chore/cache-node-modules
  • 6889693 chore: cache node_modules
  • ff2f618 Merge pull request #813 from DanielRuf/chore/remove-nodejs-4-add-nodejs-10
  • d5c1d7d chore: remove Node.js 4 (EOL), add Node.js 10
  • c05ed98 Merge pull request #812 from yausername/fixReadme
  • 55ff22f fixed typo in readme
  • 2415089 Add badge to display install size
  • 89edef0 Fix types (#804)
  • 001d560 Update eslint to resolve vulnerabilities in lodash
  • 988d09b Merge pull request #791 from yausername/master

There are 17 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 4, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 4, 2018

Version 2.17.0 just got published.

Update to this version instead 🚀

Release Notes v2.17.0
  • fixed newline output after help information (#833)
  • Fix to emit the action even without command (#778)
  • npm update (#823)
Commits

The new version differs by 5 commits.

  • 25b06ee version bump 2.17.0
  • 6ddb8eb fixed newline output after help information (#833)
  • 28ff02a Fix to emit the action even without command (#778)
  • 2d49ddf Fix the path of tsc command (#824)
  • aaa447a npm update (#823)

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 7, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 7, 2018

Version 2.17.1 just got published.

Update to this version instead 🚀

Release Notes v2.17.1
  • Fix bug in command emit (#844)
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Sep 7, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 7, 2018

Version 2.18.0 just got published.

Update to this version instead 🚀

Release Notes v2.18.0
  • Standardize help output (#853)
  • chmod 644 travis.yml (#851)
  • add support for execute typescript subcommand via ts-node (#849)
Commits

The new version differs by 5 commits.

  • 54b7f14 version bump 2.18.0
  • 713db77 Standardize help output (#853)
  • af17996 chmod 644 travis.yml
  • 8bcc493 Merge pull request #849 from KillWolfVlad/feature/executeSubCommand-tsnode
  • bf47dcc add support for execute typescript subcommand via ts-node

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 8, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 8, 2018

  • The dependency commander was updated from 2.9.0 to 2.19.0.

Update to this version instead 🚀

Release Notes for v2.19.0
  • Removed newline after Options and Commands headers (#864)
  • Bugfix - Error output (#862)
  • Fix to change default value to string (#856)
Commits

The new version differs by 6 commits.

  • 78b7dbd version bump 2.19.0
  • 6aafa20 prefixed error messages with "error:"
  • 6c0c1f6 removed newline above and below errors
  • b6549f2 removed indentation from errors
  • 2c20e91 removed newline after options and commands headers
  • 4c294c1 Fix to change default value to string

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 3, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 3, 2019

  • The dependency commander was updated from 2.9.0 to 2.20.0.

Update to this version instead 🚀

Release Notes for v2.20.0
  • fix: resolve symbolic links completely when hunting for subcommands (#935)
  • Update index.d.ts (#930)
  • Update Readme.md (#924)
  • Remove --save option as it isn't required anymore (#918)
  • Add link to the license file (#900)
  • Added example of receiving args from options (#858)
  • Added missing semicolon (#882)
  • Add extension to .eslintrc (#876)
Commits

The new version differs by 18 commits.

  • 3e8bf54 Merge pull request #946 from abetomo/version_bump_2.20.0
  • 1ffcbef version bump 2.20.0
  • 50922d8 Merge pull request #935 from MarshallOfSound/fix-deep-sym-link-resolution
  • 994d24d fix: resolve symbol links until their are no more symbolic links
  • 291fc04 Merge pull request #930 from kira1928/update-index.d.ts
  • a469137 some more fix.
  • a679949 Refine variable name. Use strict type definition instead of
  • e31bb8a Update index.d.ts
  • 4542306 Merge pull request #924 from ForJing/patch-1
  • 77bb580 Update Readme.md
  • 68545af Remove --save option as it isn't required anymore
  • 82d0d0a fix url :construction:
  • cec57f5 Add link to the license file :+1:
  • d240081 Update Readme.md
  • 03f7d38 Added example of receiving args from options

There are 18 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 9, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 9, 2019

  • The dependency commander was updated from 2.9.0 to 3.0.0.

Update to this version instead 🚀

Release Notes for v3.0.0
  • Add option to specify executable file name (#999)
    • e.g. .command('clone', 'clone description', { executableFile: 'myClone' })
  • Change docs for .command to contrast action handler vs git-style executable. (#938 #990)
  • Breaking Change TypeScript to use overloaded function for .command. (#938 #990)
  • Change to use straight quotes around strings in error messages (like 'this' instead of `this') (#915)
  • Add TypeScript "reference types" for node (#974)
  • Add support for hyphen as an option argument in subcommands (#697)
  • Add support for a short option flag and its value to be concatenated for action handler subcommands (#599)
    • e.g. -p 80 can also be supplied as -p80
  • Add executable arguments to spawn in win32, for git-style executables (#611)
    • e.g. node --harmony myCommand.js clone
  • Add parent command as prefix of subcommand in help (#980)
  • Add optional custom description to .version (#963)
    • e.g. program.version('0.0.1', '-v, --vers', 'output the current version')
  • Add .helpOption(flags, description) routine to customise help flags and description (#963)
    • e.g. .helpOption('-e, --HELP', 'read more information')
  • Fix behavior of --no-* options (#795)
    • can now define both --foo and --no-foo
    • Breaking custom event listeners: --no-foo on cli now emits option:no-foo (previously option:foo)
    • Breaking default value: defining --no-foo after defining --foo leaves the default value unchanged (previously set it to false)
    • allow boolean default value, such as from environment (#987)
  • Increment inspector port for spawned subcommands (#991)
    • e.g. node --inspect myCommand.js clone

Example Breaking Changes

The custom event for a negated option like --no-foo is option:no-foo (previously option:foo).

program
  .option('--no-foo')
  .on('option:no-foo', () => {
    console.log('removing foo');
  });

When using TypeScript, adding a command does not allow an explicit undefined for an unwanted executable description (e.g. for a command with an action handler).

program
  .command('action1', undefined, { noHelp: true }) // No longer valid
  .command('action2', { noHelp: true }) // Correct
Commits

The new version differs by 104 commits.

  • 3b0127b update Readme_zh-CN to v3.0.0 and modify some old translation problems
  • bfcd39a Set release date for 3.0.0
  • d1469c0 Bump version for release
  • 41d0bdb Add explicit breaking notes (#1006)
  • 5b1b2fe Add links for issues (so work for direct viewing of CHANGELOG)
  • fb56370 Add Tidelift links (#1004)
  • f743bf4 Expand changelog for prerelease
  • e5bce2f Add #987 to CHANGELOG
  • a9503bb Allow boolean default for flag option (#987)
  • 55e88dc Add missing changes to v3.0.0 changelog
  • fb00b0e Merge branch 'master' into release/3.0.0
  • 831d52f Merge pull request #999 from shadowspawn/feature/specifyExecutableFile
  • a59e90f Merge pull request #998 from shadowspawn/feature/develop
  • 6d68637 Increment inspector port for spawned subcommands (#991)
  • facd66f Add debugging note with issue for mixed action/executable

There are 104 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 30, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 30, 2019

  • The dependency commander was updated from 2.9.0 to 3.0.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Sep 26, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 26, 2019

  • The dependency commander was updated from 2.9.0 to 3.0.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 1, 2019

  • The dependency commander was updated from 2.9.0 to 4.0.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 11, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 11, 2019

  • The dependency commander was updated from 2.9.0 to 4.0.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 3, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 3, 2020

  • The dependency commander was updated from 2.9.0 to 4.1.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 14, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 14, 2020

  • The dependency commander was updated from 2.9.0 to 5.0.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 25, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 25, 2020

  • The dependency commander was updated from 2.9.0 to 5.1.0.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants